<?php
	class League extends BaseModel {

		private $idLeague;
		private $user;
		private $name;
		private $site;

		public function getIdLeague() {
			return $this->idLeague;
		}
		
		public function setIdLeague($value) {
			$this->idLeague = $value;
		}
		
		public function getUser() {
			return $this->user;
		}
		
		public function setUser($value) {
			$this->user = $value;
		}
		
		public function getName() {
			return $this->name;
		}
		
		public function setName($value) {
			$this->name = $value;
		}
		
		public function getSite() {
			return $this->site;
		}
		
		public function setSite($value) {
			$this->site = $value;
		}
		
		public function required() {
			return array(
				"idLeague" => $this->idLeague,
				"user" => $this->user,
				"name" => $this->name,
			);
		}

		public function json() {
			return array(
				"idLeague" => $this->idLeague,
				"user" => $this->user,
				"name" => $this->name,
				"site" => $this->site
			);
		}

	}